package com.geek.novel.network

import com.geek.novel.utils.LogCatUtil
import com.geek.novel.vo.ApiErrorResult
import com.geek.novel.vo.ApiResult


interface RslHandler {

    fun onError(code: Int, err: ApiErrorResult)

    fun onSuccess(result: ApiResult, code: Int)

    fun logout(key: Int){
        LogCatUtil.d("Main", "退出登录")
    }

}
